<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : Page1
    Created on : 2011-03-31, 14:53:08
    Author     : Przemek
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1" virtualFormsConfig="virtualForm1 | new_typ_oferty2 | new_typ_oferty2">
                        <webuijsf:button actionExpression="#{Page1.bdodaj_action}" id="bdodaj"
                            style="font-size: 18px; height: 41px; left: 623px; top: 192px; position: absolute; width: 119px" text="Dodaj ofertę "/>
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:directive.include file="logo.jspf"/>
                        </div>
                        <div style="left: 0px; top: 144px; position: absolute">
                            <jsp:directive.include file="menu.jspf"/>
                        </div>
                        <webuijsf:label id="label1" style="font-size: 24px; left: 192px; top: 168px; position: absolute" text="Dodawanie nowej oferty"/>
                        <webuijsf:tabSet id="tabSet1" immediate="true" selected="tab2" style="height: 526px; left: 192px; top: 264px; position: absolute; width: 694px">
                            <webuijsf:tab actionExpression="#{Page1.tab2_action}" binding="#{Page1.tab2}" disabled="#{RequestBean1.panelOfertaDisabled}"
                                id="tab2" text="Dane oferty" visible="#{!RequestBean1.panelOfertaDisabled}">
                                <webuijsf:panelLayout id="layoutPanel2" style="height: 489px; position: relative; width: 100%; -rave-layout: grid">
                                    <webuijsf:textField binding="#{Page1.new_cena}" id="new_cena" label="Cena" required="true"
                                        style="left: 24px; top: 24px; position: absolute" tabIndex="3" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_powierzchnia}" id="new_powierzchnia" label="Powierzchnia" required="true"
                                        style="left: 360px; top: 24px; position: absolute" tabIndex="4" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_wojewodztwo}" id="new_wojewodztwo" label="Województwo"
                                        style="left: 24px; top: 168px; position: absolute" tabIndex="6" validatorExpression="#{Page1.stringLengthValidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_miejscowosc}" id="new_miejscowosc" label="Miejscowość"
                                        style="left: 24px; top: 96px; position: absolute" tabIndex="5" validatorExpression="#{Page1.stringLengthValidator.validate}"/>
                                    <webuijsf:textArea binding="#{Page1.new_opis}" columns="50" id="new_opis" label="Opis" rows="10"
                                        style="left: 48px; top: 264px; position: absolute" tabIndex="7" validatorExpression="#{Page1.stringLengthValidator.validate}"/>
                                    <webuijsf:message for="new_cena" id="message18" showDetail="false" showSummary="true" style="left: 24px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_powierzchnia" id="message19" showDetail="false" showSummary="true" style="left: 360px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_wojewodztwo" id="message20" showDetail="false" showSummary="true" style="left: 24px; top: 192px; position: absolute"/>
                                    <webuijsf:message for="new_miejscowosc" id="message22" showDetail="false" showSummary="true" style="left: 24px; top: 120px; position: absolute"/>
                                    <webuijsf:message for="new_opis" id="message24" showDetail="false" showSummary="true" style="left: 48px; top: 408px; position: absolute"/>
                                </webuijsf:panelLayout>
                            </webuijsf:tab>
                            <webuijsf:tab actionExpression="#{Page1.tab2_action}" binding="#{Page1.tab3}" disabled="#{RequestBean1.panelBudynekDisabled}"
                                id="tab3" text="Dane budynku" visible="#{!RequestBean1.panelBudynekDisabled}">
                                <webuijsf:panelLayout id="layoutPanel3" style="height: 489px; position: relative; width: 100%; -rave-layout: grid">
                                    <webuijsf:textField binding="#{Page1.new_rok_budowy}" id="new_rok_budowy" label="Rok budowy" required="true"
                                        style="left: 48px; top: 24px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_stan_prawny}" id="new_stan_prawny" label="Stan prawny" required="true"
                                        style="left: 48px; top: 72px; position: absolute" validatorExpression="#{Page1.stringLengthValidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_liczba_pieter}" id="new_liczba_pieter" label="Liczba pięter" required="true"
                                        style="left: 48px; top: 120px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_liczba_pokoi}" id="new_liczba_pokoi" label="Liczba pokoi" required="true"
                                        style="left: 48px; top: 168px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_ulica}" id="new_ulica" label="Ulica" required="true"
                                        style="left: 432px; top: 24px; position: absolute" validatorExpression="#{Page1.stringLengthValidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_kod_pocztowy}" id="new_kod_pocztowy" label="Kod pocztowy" required="true"
                                        style="left: 384px; top: 120px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:textField binding="#{Page1.new_numer_budynku}" id="new_numer_budynku" label="Numer budynku" required="true"
                                        style="left: 384px; top: 72px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:message for="new_rok_budowy" id="message1" showDetail="false" showSummary="true" style="left: 72px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_stan_prawny" id="message2" showDetail="false" showSummary="true" style="left: 72px; top: 96px; position: absolute"/>
                                    <webuijsf:message for="new_liczba_pieter" id="message3" showDetail="false" showSummary="true" style="left: 72px; top: 144px; position: absolute"/>
                                    <webuijsf:message for="new_liczba_pokoi" id="message4" showDetail="false" showSummary="true" style="left: 72px; top: 192px; position: absolute"/>
                                    <webuijsf:message for="new_ulica" id="message8" showDetail="false" showSummary="true" style="left: 432px; top: 48px; position: absolute"/>
                                    <webuijsf:message for="new_numer_budynku" id="message9" showDetail="false" showSummary="true" style="position: absolute; left: 432px; top: 96px"/>
                                    <webuijsf:message for="new_kod_pocztowy" id="message10" showDetail="false" showSummary="true" style="position: absolute; left: 432px; top: 144px"/>
                                </webuijsf:panelLayout>
                            </webuijsf:tab>
                            <webuijsf:tab actionExpression="#{Page1.tab2_action}" binding="#{Page1.tab4}" disabled="#{RequestBean1.panelLokalDisabled}"
                                id="tab4" text="Dane lokalu" visible="#{RequestBean1.panelLokalVisible}">
                                <webuijsf:panelLayout id="layoutPanel4" style="height: 489px; position: relative; width: 100%; -rave-layout: grid">
                                    <webuijsf:textField binding="#{Page1.new_liczba_lazieniek}" id="new_liczba_lazieniek" label="Liczba łazienek"
                                        required="#{RequestBean1.panelLokalVisible}" style="left: 24px; top: 168px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:dropDown binding="#{Page1.new_typ_lokalu}" id="new_typ_lokalu" items="#{ApplicationBean1.optTypLokalu.options}"
                                        label="Typ lokalu" required="#{RequestBean1.panelLokalVisible}" style="left: 24px; top: 24px; position: absolute"/>
                                    <webuijsf:textField binding="#{Page1.new_pietro}" id="new_pietro" label="Piętro"
                                        required="#{RequestBean1.panelLokalVisible}" style="left: 24px; top: 120px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:checkbox binding="#{Page1.new_czy_rozkladowy}" id="new_czy_rozkladowy" label="Rozkładowy" style="left: 24px; top: 240px; position: absolute"/>
                                    <webuijsf:textField binding="#{Page1.new_numer_lokalu}" id="new_numer_lokalu" label="Numer lokalu"
                                        required="#{RequestBean1.panelLokalVisible}" style="left: 24px; top: 72px; position: absolute" validatorExpression="#{Page1.intwalidator.validate}"/>
                                    <webuijsf:message for="new_typ_lokalu" id="message11" showDetail="false" showSummary="true" style="left: 144px; top: 24px; position: absolute"/>
                                    <webuijsf:message for="new_pietro" id="message12" showDetail="false" showSummary="true" style="left: 216px; top: 120px; position: absolute"/>
                                    <webuijsf:message for="new_liczba_lazieniek" id="message13" showDetail="false" showSummary="true" style="left: 264px; top: 168px; position: absolute"/>
                                    <webuijsf:message for="new_czy_rozkladowy" id="message15" showDetail="false" showSummary="true" style="left: 120px; top: 240px; position: absolute"/>
                                    <webuijsf:message for="new_numer_lokalu" id="message16" showDetail="false" showSummary="true" style="left: 240px; top: 72px; position: absolute"/>
                                </webuijsf:panelLayout>
                            </webuijsf:tab>
                        </webuijsf:tabSet>
                        <webuijsf:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{ApplicationBean1.userOptionsList.options}" label="Właściciel"
                            required="true" style="left: 456px; top: 216px; position: absolute" tabIndex="2"/>
                        <webuijsf:message for="new_typ_oferty2" id="message17" showDetail="false" showSummary="true" style="left: 192px; top: 240px; position: absolute"/>
                        <webuijsf:dropDown binding="#{Page1.new_typ_oferty1}" id="new_typ_oferty2" immediate="true"
                            items="#{ApplicationBean1.optTypOferty.options}" label="Typ oferty"
                            onChange="webui.suntheme4_2.common.timeoutSubmitForm(this.form, 'new_typ_oferty2');" required="true"
                            style="left: 192px; top: 216px; position: absolute" tabIndex="1" validatorExpression="#{Page1.new_typ_oferty2_validate}" valueChangeListenerExpression="#{Page1.new_typ_oferty1_processValueChange}"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
